<?php 
session_start();
include_once'admin_core/services/SystemService.php';
include_once 'admin_core/utils/Function.php';
$systemService = new SystemService();
$system = $systemService->getSystem();

$_SESSION['system'] = serialize($system);
$fun = new fun();
$fun->closeDB();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $system->getSiteName();?>登录 Powered By 江西理工大学 信息工程学院 软件081班</title>
<mete http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name="description" content="<?php echo $system->getSiteDescpribt();?>>" />
<link href="images/southidc.css" rel=stylesheet>
<link  href="css/jquery_dialog.css" rel="stylesheet" />
<STYLE type=text/css>
.style2 {
	COLOR: #003366
}
.style3 {
	COLOR: #ffffff
}
.style4 {
	FONT-WEIGHT: bold; COLOR: #3d7acd
}
BODY {
	BACKGROUND-COLOR: #417bc9
}
.STYLE5 {
	text-align:center;
	font-weight:bold; color:#FFF;
	width:100%;
	float:right;
}
.STYLE6 {
	COLOR: #ffffff
}

</STYLE>
<script type="text/javascript">

function changeimage()
{
document.getElementById("safecode").src='admin_core/utils/validate_code.php?time'+Math.random();
}
function changeButton(obj,image)
{
	
obj.style.backgroundImage = image;

	}
function displayMessage(){
  var message = document.getElementById("message");
  message.style.display="block";
}


function hiddenMessage()
		{
			var message = document.getElementById("message");
		    message.style.display="none";
			}
</script>
<script src="js/jquery_dialog.js" type="text/javascript"></script>
<script src="js/jquery.js" type="text/javascript"></script>
</head>
<body class=bgcolor >
<div style="width:100%; height:150px;">
</div>
<form id="login" name="login" action="admin_core/control.php?action=login" method="post">
<table height=252 cellSpacing=0 cellPadding=0 width=432 align=center border=0>
  <tbody>
  <tr>
    <td align=middle background=images/Login_Top.gif height=26>
      <table cellSpacing=0 cellPadding=0 width="100%" border=0>
        <tbody>
        <tr>
          <td vAlign=bottom align=middle height=18>
          <span class="STYLE5" >作业审查管理系统</span></td></tr></tbody></table></td></tr>
  <tr>
    <td align=middle background=images/Login_BG.gif>
      <table height=147 width="100%" border=0>
        <tbody>
        <tr>
          <td align=right width="40%" rowSpan=7><IMG height="130" alt=2 
            src="images/Login_TT.jpg" width="132"></td>
          <td align=right height=30  width="20%">用 户 名：</td>
          <td align=left width="40%" colSpan=2 height=30><input 
            onmouseover="this.style.background='#E1F4EE';" 
            style="border-right:1px solid #000; padding-right: 4px; border-top: 1px solid; padding-left: 4px; padding-bottom:: 1px; border-left: 1px solid; width: 90px; padding-top: 1px; border-bottom: 1px solid" 
            onfocus="this.select(); " 
            onmouseout="this.style.background='#FFFFFF'" type="text" 
            maxLength="20" name="username" /></td></tr>
        <tr>
          <td align=right height=30>密&nbsp;&nbsp;&nbsp; 码：</td>
          <td align=left height=30><input 
            onmouseover="this.style.background='#E1F4EE';" 
            style=" border-right:1px solid #000; padding-right: 4px; border-top: 1px solid; padding-left: 4px; padding-bottom:: 1px; border-left: 1px solid; width: 90px; padding-top: 1px; border-bottom: 1px solid" 
            onfocus="this.select(); " 
            onmouseout="this.style.background='#FFFFFF'" type="password" 
            maxlength="20" name="password" /> </td>
            <td align="left">
            <a href="#" onclick="JqueryDialog.OpenDetail('找回密码','findPWD.php',800,500,false,false,true)">忘记密码？</a>
            </td>
            </tr>
         <tr>
         <td colspan="3" align="center" style="text-align:center; font-size:11px; color:#666;">
            
           <span style="width:100%; display:none; cursor:pointer; font-size:10px;" onclick="hiddenMessage()" id="message" title="点击隐藏我"> 可输入验证码的拼音，点击图片可以更换一张！</span>
            
         </td>
         </tr>
        <tr>
          <td align=right height=30>验 证 码：</td>
          <td align=left height=30><input 
            onmouseover="this.style.background='#E1F4EE';" 
            style=" border-right:1px solid #000; padding-right: 4px; border-top: 1px solid; padding-left: 4px; padding-bottom:: 1px; border-left: 1px solid; width: 90px; padding-top: 1px; border-bottom: 1px solid" 
            id="chknumber"
            onfocus="displayMessage()"
           
            onmouseout="this.style.background='#FFFFFF'" type="text" 
            maxLength="30" name="chknumber" />
            </td>
            <td align="left">
            <img src="admin_core/utils/validate_code.php" id="safecode" style=" cursor:pointer; width:70px; height:20px; "  onclick="javascript:changeimage();"  alt="验证码" title="点击换一张" />
            </td>
            
         
            </tr>
       <tr>
          <td align=right height=30  colspan="3">
          <input type="radio" value="xs" name="logintype" checked/>&nbsp;学生&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" value="ls" name="logintype"/>&nbsp;老师&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" value="admin" name="logintype"/>&nbsp;管理员&nbsp;
          </td>
          </tr>
          
          <tr>
          <td class=style2 vAlign=center align=right colspan="3"><input onmousemove="changeButton(this,'url(images/61.gif)')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;" onmouseout="changeButton(this,'url(images/40.gif)')" type=submit value=" 确&nbsp;认 " name="submit" />&nbsp;&nbsp;<input o onmousemove="changeButton(this,'url(images/61.gif)')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;"  onmouseout="changeButton(this,'url(images/40.gif)')"  type="reset" value=" 重&nbsp; 置" name="reset">&nbsp;&nbsp;&nbsp;</td>
      
          
      </tr>
      <tr>
     <td class=style2 vAlign=center align=right width="40%" style="font-size:12px; color:#999;" colspan="3"> <a href="#" onclick="JqueryDialog.OpenDetail('老师注册','teacherRegist.php',800,700,false,false,true)">老师注册</a>|<a href="#" onclick="JqueryDialog.OpenDetail('学生注册','studentRegist.php',800,800,false,false,true)">学生注册</a></td>
      </tr>
      </table></td></tr>
  <tr>
    <td align=middle height=56  style="text-align:center; line-height:56px; color:#CCC; background-image:url(images/Login_Down.gif); background-repeat:no-repeat;">&nbsp;Powered By 江西理工大学 信息工程学院 软件081班</td></tr></tbody></table>
<table cellSpacing=0 cellPadding=0 width="75%" align=center border=0>
  <tbody>
  <tr>
    <td>
      <div class=STYLE6 align=center></div></td></tr></tbody></table></form>
</body></html>
